package edu.sziit.manager_application.pojo;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

      private Long pid;

    /**
     * 商品名称
     */
    private String pname;

    /**
     * 商品图片
     */
    private String pimg;

    /**
     * 商品价格
     */
    private Double price;

    /**
     * 销量
     */
    private Long sales;

    /**
     * 产地
     */
    private String orginAddr;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;

    /**
     * 详细介绍
     */
    private String introduction;


}
